package cn.hm.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.hm.mapper.UserMapper;
import cn.hm.entity.User;
import cn.hm.service.UserService;
/**
 * @author  Mxb
 * @date  2020/7/27 22:55
 * @version 1.0
 */
@Service
public class UserServiceImpl implements UserService{

    @Resource
    private UserMapper userMapper;

    @Override
    public User selectByPrimaryKey(Long id) {
        return userMapper.selectByPrimaryKey(id);
    }

}
